# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(BileteLaOrdin)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Bilete_SRCS bileteLaOrdinplugin.cpp bileteLaOrdin.cpp)
QT4_WRAP_CPP(Bilete_SRCS bileteLaOrdinplugin.h bileteLaOrdin.h)
QT4_WRAP_UI(Bilete_SRCS bileteLaOrdin.ui)
QT4_ADD_RESOURCES(Bilete_SRCS bileteLaOrdin.qrc)

add_library(BileteLaOrdin SHARED ${Bilete_SRCS})
add_dependencies(BileteLaOrdin KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(BileteLaOrdin KontAMabil ${QT_LIBRARIES})

install(TARGETS BileteLaOrdin ${INSTALL_PLUGINS_DEFAULT_ARGS})
